<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" %>
<div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" 
               aria-hidden="true">×
            </button>
            <h4 class="modal-title" id="myModalLabel">
                                        添加JOB任务
            </h4>
         </div>
         <div class="modal-body">
             <div class="box box-success">
                <!-- form start -->
                <form role="form" id="addjobForm">
                  <div class="box-body">
                    <div class="form-group">
                      <label for="jobName">URL地址</label>
                      <input type="url" class="form-control" id="jobName" name="jobName" placeholder="URL地址" required>
                    </div>
                    <div class="form-group">
                      <label for="cronstr">quartz cron 表达式</label>&nbsp;&nbsp;<a href="#" onclick="showHelp();" class="btn btn-info btn-xs"><span class="glyphicon glyphicon-question-sign"></span>示例</a>
                      <input type="text" class="form-control" id="cronstr" name="cronstr"  placeholder="请填写正确的 quartz cron 表达式" required>
                    </div>
                    <div class="form-group">
                      <label >HTTP请求方式</label>
                      <select class="form-control" name="httptype">
                        <option value="1">GET</option>
                        <option value="0">POST</option>
                      </select>
                    </div>
                    <div class="form-group">
                      <label >任务执行方式</label>
                      <select class="form-control" name="isConcurrent">
                        <option value="1">可并行</option>
                        <option value="0">串行</option>
                      </select>
                    </div>
                    <div class="form-group">
                      <label for="jobDesc">任务描述[20字以内]</label>
                      <input type="text" class="form-control" id="jobDesc" name="jobDesc" placeholder="任务描述[20字以内]" required>
                    </div>
                  </div><!-- /.box-body -->
                  
                </form>
				<div id="error-block" class="alert alert-error hide" >
				  <a class="close" onclick="closeMessage();">×</a>
				  <strong>Error!</strong>
				  <div id="addjoberrormsgs">fasdfads</div>
				</div>
              </div><!-- /.box -->                     
                                 
         </div>
         <div class="modal-footer">
            <button type="button" class="btn btn-default" 
               data-dismiss="modal">关闭
            </button>
            <button id="btn_save_job" type="button" class="btn btn-primary" onclick="fn_save_job();">
                                                 保存
            </button>
         </div>
      </div><!-- /.modal-content -->
   </div><!-- /.modal-dialog -->